package com.zlm.constants;

/**
 * @author zlm
 * @date 2024/12/9
 */
public class SysConstants {

    /**
     *  文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;

    /**
     *  文章是正常发布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;

    /**
     *  文章分类禁用
     */
    public static final int CATEGORY_STATUS_DRAFT = 1;

    /**
     *  文章分类正常
     */
    public static final int CATEGORY_STATUS_NORMAL = 0;

    /**
     *  友链待审
     */
    public static final int LINK_STATUS_TODO = 2;
    /**
     *  友链审核未通过
     */
    public static final int LINK_STATUS_DRAFT = 1;

    /**
     *  友链审核通过
     */
    public static final int LINK_STATUS_NORMAL = 0;

    /**
     * 文章列表当前查询页数
     */
    public static final int ARTICLE_PAGE_NUM = 1;

    /**
     * 文章列表每页显示的数据条数
     */
    public static final int ARTICLE_PAGE_SIZE = 10;
    /**
     * 文章根评论id
     */
    public static final String ARTICLE_COMMENT_ROOT_ID = "-1";

    /**
     * 登陆token key前缀
     */
    public static final String LOGIN_TOKEN_KEY_PRE = "bloglogin:";
    /**
     * 文章评论类型
     */
    public static final String ARTICLE_COMMENT_TYPE = "0";
    /**
     * 友链评论类型
     */
    public static final String LINK_COMMENT_TYPE = "1";
}
